From: Florian Müllner Date: Thu, 20 Jul 2023 22:44:18 +0000 (+0200) Subject: ci: Don't install fake pkexec in toolbox image X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~337^2~1^2~115 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=34a33467f731b31d6273640a0a36bb5764af3355;p=gnome-shell.git ci: Don't install fake pkexec in toolbox image The mutter image already replaces `pkexec` with a symlink to `sudo`, which does the same job as the `su` wrapper. Part-of: --- diff --git a/.gitlab-ci/build-toolbox-image.sh b/.gitlab-ci/build-toolbox-image.sh index 2e07cb131..8e6b85370 100755 --- a/.gitlab-ci/build-toolbox-image.sh +++ b/.gitlab-ci/build-toolbox-image.sh @@ -40,14 +40,6 @@ build_container() { buildah run $build_cntr dnf clean all buildah run $build_cntr rm -rf /var/lib/cache/dnf - # work around non-working pkexec - local fake_pkexec=$(mktemp) - cat > $fake_pkexec <<-'EOF' - #!/bin/sh - exec su -c "$*" - EOF - buildah copy --chmod 755 $build_cntr $fake_pkexec /usr/bin/pkexec - # disable gnome-keyring activation: # it either asks for unlocking the login keyring on startup, or it detects # the running host daemon and doesn't export the object on the bus, which